package com.sansan.qiangji.service.impl.wage;

import com.sansan.qiangji.entity.wage.PickingStockWage;
import com.sansan.qiangji.entity.wage.example.PickingStockWageExample;
import com.sansan.qiangji.mapper.wage.PickingStockWageMapper;
import com.sansan.qiangji.service.inter.wage.PickingStockWageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PickingStockWageServiceImpl implements PickingStockWageService {

    @Autowired
    private PickingStockWageMapper pickingStockWageMapper;

    @Override
    public long countByExample(PickingStockWageExample example) {
        return pickingStockWageMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(PickingStockWageExample example) {
        return pickingStockWageMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return pickingStockWageMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PickingStockWage record) {
        return pickingStockWageMapper.insert(record);
    }

    @Override
    public int insertSelective(PickingStockWage record) {
        return pickingStockWageMapper.insertSelective(record);
    }

    @Override
    public List<PickingStockWage> selectByExample(PickingStockWageExample example) {
        return pickingStockWageMapper.selectByExample(example);
    }

    @Override
    public PickingStockWage selectByPrimaryKey(Integer id) {
        return pickingStockWageMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(PickingStockWage record, PickingStockWageExample example) {
        return pickingStockWageMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(PickingStockWage record, PickingStockWageExample example) {
        return pickingStockWageMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(PickingStockWage record) {
        return pickingStockWageMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PickingStockWage record) {
        return pickingStockWageMapper.updateByPrimaryKey(record);
    }
}
